Skip to content

Conversation

@balvig
Copy link

@balvig balvig commented Aug 27, 2014

As mentioned in #245 her seems to raise an exception when trying to save an object that is based on a JSON response with empty arrays for the associations. The problem was that next would return nil and then crash when trying to merge the result with a hash in to_params.

@balvig
Copy link
Author

balvig commented Aug 27, 2014

Just noticed this is a duplicate of #281. Closing!

@balvig balvig closed this Aug 27, 2014
balvig added a commit to cooksnaps/her that referenced this pull request Sep 12, 2014
avoid exception when saving empty associations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant